{extends "../index.tpl"}

{block "title"}Code generator{/block}
{block "content"}
{*
	{include(file='components/combobox.tpl' source=$users)}
	
	{include(file='components/table.tpl' source=$users2 headers=$users2_headers)}
*}
	
	<form action="{$www}/codegenerator-gensql" method="post">
		{include file="../components/combobox.tpl" name="table" source=$tables}
		
		<input type="submit" value="Generate SQL queries for this table"/>
	</form>
	
	<form action="{$www}/codegenerator-genmxmlform" method="post">
		{include file="../components/combobox.tpl" name="table" source=$tables}
		
		<input type="submit" value="Generate MXML form for this table"/>
	</form>
	
	<form action="{$www}/codegenerator-genmxmltable" method="post">
		{include file="../components/combobox.tpl" name="table" source=$tables}
		
		<input type="submit" value="Generate MXML list for this table"/>
	</form>

{/block} 